﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameBase;
using Microsoft.Xna.Framework;

namespace GalaxyPresident
{
    public class Tank : Unit
    {
        public Tank(Planet planet)
            : base(planet)
        {
            Sprite sprite_s = new Sprite(@"Resources/Tank_s", 1, 1,
                new List<int> { 0 }, 150);
            sprite_s.SetOriginPosition(ORIGIN_POSITION.MidBottom);
            sprite_s.Color = Color.Red;
            AddSprite(sprite_s);

            Sprite sprite = new Sprite(@"Resources/Tank", 1, 3,
                new List<int> { 0, 1, 2, 1 }, 150);
            sprite.SetOriginPosition(ORIGIN_POSITION.MidBottom);
            sprite.Color = Color.White;
            AddSprite(sprite);
        }
    }
}
